package net.lab1024.sa.admin.module.business.exam.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.lab1024.sa.admin.module.business.exam.domain.entity.ExamromaEntity;
import net.lab1024.sa.admin.module.business.exam.domain.form.query.ExamromaQueryForm;
import net.lab1024.sa.admin.module.business.exam.domain.vo.ExamCountVo;
import net.lab1024.sa.admin.module.business.exam.domain.vo.ExamromaVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 日历明细 Dao
 *
 * @Author AKITA
 * @Date 2025-06-06 11:34:55
 * @Copyright AKITA
 */

@Mapper
public interface ExamromaDao extends BaseMapper<ExamromaEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */


    List<ExamromaVO> queryPage(Page page, @Param("queryForm") ExamromaQueryForm queryForm);
    ExamromaEntity myInfo(@Param("userId") Long requestUserId,@Param("docEntry") Long docEntry);
    List<ExamCountVo> examCount();
    Integer selectLineNum(@Param("docEntry") Long docEntry);


    List<ExamromaEntity> selectCountList(@Param("docEntry") Long docEntry);

}
